package gameStream.state
{
	import org.gof.state.IGameObjectList;
	import org.gof.stream.BaseGameObject;
	import org.gof.stream.IGOInputMeta;
	import org.gof.stream.IGameObject;
	
	public class BallGameObjectList implements IGameObjectList
	{
		private var _list:Vector.<BaseGameObject>;

		public function BallGameObjectList():void 
		{
			_list = new Vector.<BaseGameObject>();
		}
		public function get length():uint 
		{
			return _list.length;
		}
		
		                
		public function push(go:IGameObject, meta:IGOInputMeta = null):Object
		{
			_list.push(go);
			return null;
		}
		
		public function getGOat(n:uint):IGameObject
		{
			return _list[n];
		}
	}
}